/*
 * @Author: cl
 * @Description: 
 * @Date: 2023-03-30 10:39:57
 * @LastEditTime: 2023-04-26 14:12:42
 * @FilePath: \jsnode\typescript\variable.ts
 * @LastEditors: cl
 */
let boy: { name: string; [lastName: string]: any };
boy = {
  name: "张三",
  age: 13,
  love: "LIsi",
};
let arr: [string, string];
arr = ["zhangsan", "lisi"];

enum BallType {
  basketball = 1,
  football = 2,
}

let myBall: { type: BallType };

myBall = {
    type : BallType.football
}
console.log(JSON.stringify(myBall) )


type test111 = ('a'|'b')&('a')

type test222 = 'b'&'a'


